#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
struct stu
{
	int num;
	const char* name;
	char sex;
	float score;
};
int main()
{
	
	stu* ps = new stu;
	if(!ps)
	{
		printf("memorizer over\n");
		return -1;
	}
	ps->num = 102;
	ps->name = "Zhang ping";
	ps->sex = 'M';
	ps->score = 62.5;
	printf("Number=%d\nName=%s\n", ps->num, ps->name);
	printf("Sex=%c\nScore=%.2f\n", ps->sex, ps->score);
	delete ps;
	return 0;
}
